const Router = require('koa-router');
const path = require('path');
const fs = require('await-fs');

let router = new Router();

router.get('/a', async ctx => {
    let data = await ctx.db.query(`SELECT * from list`);
    ctx.body = data;
})

module.exports = router.routes()